home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 877 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.2 KB

  1. Path: mercury.starnet.gov.sg!mercury!thungkho
  2. From: thungkho@starnet.gov.sg (Tan Hung Khoon)
  3. Newsgroups: comp.lang.c++
  4. Subject: Help: STL map
  5. Date: 5 Jan 1996 01:37:13 GMT
  6. Message-ID: <4chvc9$esu@mercury.starnet.gov.sg>
  7. NNTP-Posting-Host: mercury.mercury.starnet.gov.sg
  8. X-Newsreader: TIN [version 1.2 PL2]
  9.  
  10. I had the following problem:
  11.  
  12. "rb_tree<int, pair<const int, int>select1st<pair<const int, 
  13. int>,int>,less<int> >::rb_tree_node" needs a constructor because class 
  14. member "value_field" needs a constructor initializer
  15. previous message applies to the definition of template 
  16. "map<int,int,less<int> >"
  17.  
  18. with the Hewlett Packard STL on IBM RS/6000 using xlC.  Is this due to 
  19. the compiler not fully supporting STL?  Any way to solve the problem?  
  20. Appreciate if anyone could provide advise on this.  Thanks in advance.
  21.  
  22. --
  23. ----------
  24. Tan Hung Khoon                             _____/   _____/    _____/
  25. Software Engineer                        _/       _/        _/     _/
  26. Joint/Army Systems Division            _/          ___/   _/       _/
  27. Command, Control, and                  _/             _/  _/     _/
  28. Communication Systems Organisaton       _____/  _____/     _____/
  29.  
  30.